package com.dsbj.mp.icardservice.controller.contr_test;

import com.dsbj.mp.icardservice.utils.strprocess.RespStruct;
import com.dsbj.mp.icardservice.utils.strprocess.StrUtil;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping(value = "/test")
public class ContrTest {


    @RequestMapping(value = "/sayHello")
    public RespStruct sayHello(@RequestParam Map<String,Object> map){

        StrUtil.prettyPrintWithTime("sayHello",map);



        RespStruct respStruct=new RespStruct();

        return respStruct.success(map);




    }


}
